#ifndef EXPENSE_TRACKER_H__
#define EXPENSE_TRACKER_H__
#include <vector>
#include "Expense.h"
#include "BudgetPlanner.h"
using namespace std;

enum TimeFrame{
	Daily, Weekly, Monthly
};

class ExpenseTracker{

 private:
	 float totalSpent;
	 TimeFrame tf;
	 int numDays;
	 vector<vector<Expense>> exp;
	 BudgetPlanner planner;

 public:
	 ExpenseTracker();
	 ExpenseTracker(float totalIn, TimeFrame tfIn, int numDaysIn, vector<vector<Expense>> expIn, BudgetPlanner plannerIn);
	 void setTotalSpent(float totalIn);
	 void setTimeFrame(TimeFrame tfIn);
	 void setnumDays(int numDaysIn);
	 void setExpenses(vector<vector<Expense>> expIn);
	 void setBudgetPlanner(BudgetPlanner plannerIn);
	 float getSpent();
	 TimeFrame getTimeFrame();
	 int getNumDays();
	 vector<vector<Expense>> getExpenses();
	 BudgetPlanner getBudgetPlanner();
};

#endif // EXPENSE_TRACKER_H__
